package com.sixmac.model;


import com.sixmac.core.base.model.BaseModel;
import org.beetl.sql.core.annotatoin.Table;

import java.util.Date;

/**
 * User
 * 2018-06-10 16:02:39
 *
 * @author Blade
 */
@Table(name = "t_user")
@SuppressWarnings("serial")
public class User extends BaseModel {

    private Integer id;
    /**
     * 是否第一次登陆 1 是 2 否
     */
    private Integer isFirst;
    /**
     * 1正常2冻结
     */
    private Integer status;
    /**
     * 分类ids
     */
    private String categoryIds;
    /**
     * 头像
     */
    private String headimg;
    /**
     * 手机号码
     */
    private String mobile;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * qqOpenId
     */
    private String qqkey;
    /**
     * 签名
     */
    private String sign;
    /**
     * 微信openId
     */
    private String wechatkey;
    private Date createDate;
    /**
     * 更新时间
     */
    private Date updateDate;

    //扩展字段
    private String token; //用户token

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsFirst() {
        return isFirst;
    }

    public void setIsFirst(Integer isFirst) {
        this.isFirst = isFirst;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(String categoryIds) {
        this.categoryIds = categoryIds;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getQqkey() {
        return qqkey;
    }

    public void setQqkey(String qqkey) {
        this.qqkey = qqkey;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getWechatkey() {
        return wechatkey;
    }

    public void setWechatkey(String wechatkey) {
        this.wechatkey = wechatkey;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }


}
